package swu.cx.androidmvc.Model.NetWork

class netWork {
    val bookdao = netWorkImpl()
    companion object{
        @Volatile private var instance:netWork?=null
        fun getInstance() = instance?: synchronized(this){
            instance?:netWork().also { instance = it }
        }
    }
}